package hlhj.fhp.tvlib.javabean;

import java.util.List;

/**
 * Created by Administrator on 2018\5\24 0024.
 */

public class TvListBean {

    /**
     * code : 1
     * msg : 获取成功
     * data : [{"id":2,"tv_source":"http://alsource.pull.inke.cn/live/1527142765247036.flv?ikDnsOp=1&ikHost=ali&ikOp=0&codecInfo=8192&ikLog=0&dpSrcG=1&ikMinBuf=3800&ikMaxBuf=4800&ikSlowRate=1.0&ikFastRate=1.2","channel_thumb":"/application/hlhjnews/source/upload/20180523/152704319095.jpg","channel_name":"四川广播电视台"}]
     * url : http://192.168.0.117
     */

    private int code;
    private String msg;
    private String url;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * tv_source : http://alsource.pull.inke.cn/live/1527142765247036.flv?ikDnsOp=1&ikHost=ali&ikOp=0&codecInfo=8192&ikLog=0&dpSrcG=1&ikMinBuf=3800&ikMaxBuf=4800&ikSlowRate=1.0&ikFastRate=1.2
         * channel_thumb : /application/hlhjnews/source/upload/20180523/152704319095.jpg
         * channel_name : 四川广播电视台
         */

        private int id;
        private String tv_source;
        private String channel_thumb;
        private String channel_name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTv_source() {
            return tv_source;
        }

        public void setTv_source(String tv_source) {
            this.tv_source = tv_source;
        }

        public String getChannel_thumb() {
            return channel_thumb;
        }

        public void setChannel_thumb(String channel_thumb) {
            this.channel_thumb = channel_thumb;
        }

        public String getChannel_name() {
            return channel_name;
        }

        public void setChannel_name(String channel_name) {
            this.channel_name = channel_name;
        }
    }
}
